package edu.psu.geovista.app.gmatrix.data;

import edu.psu.geovista.app.gmatrix.canvas.Cell;
import edu.psu.geovista.app.gmatrix.canvas.Symbol;

import java.awt.*;
/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Dec 6, 2005$
 * @version: 1.0
 */

public interface BasicMatrixmodel {
     /**
     * set number of nbrow and column
     * will override foreground color[][]
     * @param nbrow
     * @param nbcol
     */
    public void setRowColumn( int nbrow, int nbcol);
    public  Cell getCell(int row, int col);
    int getNumOfCulumn();
    int getNumOfRow();
    //void setNumOfCulumn(int numOfCulumn);
   // void setNumOfRow(int numOfRow);
   void setColors(Color[] colors);
   void setColors(Color[][] colors);
   //void setForegrounds(Color[][] foreground);
   void setBackgrounds(Color[][] backgrounds);
    void setSymbols(Symbol[][] symbols);
    void setDefaultSymbol(Symbol defaultSymbol);

    Symbol getDefaultSymbol();
     public Color getDefaultBackground();
     public Color getDefaultForeground();

    public void setColumnIdentifiers(Object[] names) ;
    public void setRowIdentifiers(Object[] names);
    //public void addTableModelListener(TableModelListener l) ;
     //Symbol getSymbol(int row,int col);

    //Color getBackground(int row, int col);



    //Color getForeground(int row, int col);

    //Color[][] getForegrounds();











   // Color[] getColumnColors(int index);

    //Color[] getRowColors(int index);


}
